\hypertarget{group__udc__desc__group}{
\section{\-U\-S\-B \-Device \-Descriptor}
\label{group__udc__desc__group}\index{\-U\-S\-B Device Descriptor@{\-U\-S\-B Device Descriptor}}
}
\subsection*{\-Data \-Structures}
\begin{DoxyCompactItemize}
\item 
struct \hyperlink{structudc__config__speed__t}{udc\-\_\-config\-\_\-speed\-\_\-t}
\begin{DoxyCompactList}\small\item\em \-Configuration descriptor and \-U\-D\-I link for one \-U\-S\-B speed. \end{DoxyCompactList}\item 
struct \hyperlink{structudc__config__t}{udc\-\_\-config\-\_\-t}
\begin{DoxyCompactList}\small\item\em \-All information about the \-U\-S\-B \-Device. \end{DoxyCompactList}\end{DoxyCompactItemize}
\subsection*{\-Defines}
\begin{DoxyCompactItemize}
\item 
\#define \hyperlink{group__udc__desc__group_gae086959cec07a2e71ab069e25a51764f}{\-U\-D\-C\-\_\-\-D\-E\-S\-C\-\_\-\-S\-T\-O\-R\-A\-G\-E}
\begin{DoxyCompactList}\small\item\em \-Defines the memory's location of \-U\-S\-B descriptors. \end{DoxyCompactList}\item 
\#define \hyperlink{group__udc__desc__group_ga1659a2f0b429f07a985a8faaa3fb27b1}{\-U\-D\-C\-\_\-\-D\-A\-T\-A}(x)~\-C\-O\-M\-P\-I\-L\-E\-R\-\_\-\-A\-L\-I\-G\-N\-E\-D(x)
\item 
\#define \hyperlink{group__udc__desc__group_ga198e5cdf3367aa0b35821417b7ede0b2}{\-U\-D\-C\-\_\-\-B\-S\-S}(x)~\-C\-O\-M\-P\-I\-L\-E\-R\-\_\-\-A\-L\-I\-G\-N\-E\-D(x)
\end{DoxyCompactItemize}
\subsection*{\-Variables}
\begin{DoxyCompactItemize}
\item 
\-U\-D\-C\-\_\-\-D\-E\-S\-C\-\_\-\-S\-T\-O\-R\-A\-G\-E \hyperlink{structudc__config__t}{udc\-\_\-config\-\_\-t} \hyperlink{group__udc__desc__group_ga40ae5a61fbfa7e289136b2f9fd190217}{udc\-\_\-config}
\begin{DoxyCompactList}\small\item\em \-Global variables of \-U\-S\-B \-Device \-Descriptor and \-U\-D\-I links. \end{DoxyCompactList}\end{DoxyCompactItemize}


\subsection{\-Define \-Documentation}
\hypertarget{group__udc__desc__group_ga198e5cdf3367aa0b35821417b7ede0b2}{
\index{\-U\-S\-B Device Descriptor@{\-U\-S\-B Device Descriptor}!\-U\-D\-C\-\_\-\-B\-S\-S@{\-U\-D\-C\-\_\-\-B\-S\-S}}
\index{\-U\-D\-C\-\_\-\-B\-S\-S@{\-U\-D\-C\-\_\-\-B\-S\-S}!USB Device Descriptor@{\-U\-S\-B Device Descriptor}}
\subsubsection[{\-U\-D\-C\-\_\-\-B\-S\-S}]{\setlength{\rightskip}{0pt plus 5cm}\#define \-U\-D\-C\-\_\-\-B\-S\-S(
\begin{DoxyParamCaption}
\item[{}]{x}
\end{DoxyParamCaption}
)~\-C\-O\-M\-P\-I\-L\-E\-R\-\_\-\-A\-L\-I\-G\-N\-E\-D(x)}}
\label{group__udc__desc__group_ga198e5cdf3367aa0b35821417b7ede0b2}
\hypertarget{group__udc__desc__group_ga1659a2f0b429f07a985a8faaa3fb27b1}{
\index{\-U\-S\-B Device Descriptor@{\-U\-S\-B Device Descriptor}!\-U\-D\-C\-\_\-\-D\-A\-T\-A@{\-U\-D\-C\-\_\-\-D\-A\-T\-A}}
\index{\-U\-D\-C\-\_\-\-D\-A\-T\-A@{\-U\-D\-C\-\_\-\-D\-A\-T\-A}!USB Device Descriptor@{\-U\-S\-B Device Descriptor}}
\subsubsection[{\-U\-D\-C\-\_\-\-D\-A\-T\-A}]{\setlength{\rightskip}{0pt plus 5cm}\#define \-U\-D\-C\-\_\-\-D\-A\-T\-A(
\begin{DoxyParamCaption}
\item[{}]{x}
\end{DoxyParamCaption}
)~\-C\-O\-M\-P\-I\-L\-E\-R\-\_\-\-A\-L\-I\-G\-N\-E\-D(x)}}
\label{group__udc__desc__group_ga1659a2f0b429f07a985a8faaa3fb27b1}
\hypertarget{group__udc__desc__group_gae086959cec07a2e71ab069e25a51764f}{
\index{\-U\-S\-B Device Descriptor@{\-U\-S\-B Device Descriptor}!\-U\-D\-C\-\_\-\-D\-E\-S\-C\-\_\-\-S\-T\-O\-R\-A\-G\-E@{\-U\-D\-C\-\_\-\-D\-E\-S\-C\-\_\-\-S\-T\-O\-R\-A\-G\-E}}
\index{\-U\-D\-C\-\_\-\-D\-E\-S\-C\-\_\-\-S\-T\-O\-R\-A\-G\-E@{\-U\-D\-C\-\_\-\-D\-E\-S\-C\-\_\-\-S\-T\-O\-R\-A\-G\-E}!USB Device Descriptor@{\-U\-S\-B Device Descriptor}}
\subsubsection[{\-U\-D\-C\-\_\-\-D\-E\-S\-C\-\_\-\-S\-T\-O\-R\-A\-G\-E}]{\setlength{\rightskip}{0pt plus 5cm}\#define \-U\-D\-C\-\_\-\-D\-E\-S\-C\-\_\-\-S\-T\-O\-R\-A\-G\-E}}
\label{group__udc__desc__group_gae086959cec07a2e71ab069e25a51764f}


\-Defines the memory's location of \-U\-S\-B descriptors. 

\-By default the \-Descriptor is stored in \-R\-A\-M (\-U\-D\-C\-\_\-\-D\-E\-S\-C\-\_\-\-S\-T\-O\-R\-A\-G\-E is defined empty).

\-If you have need to free \-R\-A\-M space, it is possible to put descriptor in flash in following case\-:
\begin{DoxyItemize}
\item \-U\-S\-B driver authorize flash transfer (\-U\-S\-B\-B on \-U\-C3 and \-U\-S\-B on \-Mega)
\item \-U\-S\-B \-Device is not high speed (\-U\-D\-C no need to change \-U\-S\-B descriptors)
\end{DoxyItemize}

\-For \-U\-C3 application used \char`\"{}const\char`\"{}.

\-For \-Mega application used \char`\"{}code\char`\"{}. 

\subsection{\-Variable \-Documentation}
\hypertarget{group__udc__desc__group_ga40ae5a61fbfa7e289136b2f9fd190217}{
\index{\-U\-S\-B Device Descriptor@{\-U\-S\-B Device Descriptor}!udc\-\_\-config@{udc\-\_\-config}}
\index{udc\-\_\-config@{udc\-\_\-config}!USB Device Descriptor@{\-U\-S\-B Device Descriptor}}
\subsubsection[{udc\-\_\-config}]{\setlength{\rightskip}{0pt plus 5cm}\-U\-D\-C\-\_\-\-D\-E\-S\-C\-\_\-\-S\-T\-O\-R\-A\-G\-E {\bf udc\-\_\-config\-\_\-t} {\bf udc\-\_\-config}}}
\label{group__udc__desc__group_ga40ae5a61fbfa7e289136b2f9fd190217}


\-Global variables of \-U\-S\-B \-Device \-Descriptor and \-U\-D\-I links. 

